# @Time    :2025/3/24 11:26
# sum = 0
# for i in range(10):
#     sum = sum + i ** i
#     if sum > 1000000:
#         break
#     print(i, sum)

for i in range(10):
    if i % 2 == 0:
        print(i)
        break  # 满足条件，结束循环，不再执行

else:
    print("结束程序")
